package com.ecar.common.util;

/**
 * Created by admin on 2016/6/6.
 */
public class ReturnInfo<T> {

	/* 返回状态0正常， 1 异常 */
	private int retCode = 0;

	/*描述信息*/
	private String message;

	/* 返回数据*/
	private T data;

	/* 扩展属性*/
	private Object extend;

	public int getRetCode() {
		return retCode;
	}

	public void setRetCode(int retCode) {
		this.retCode = retCode;
	}

	public T getData() {
		return data;
	}

	public void setData(T data) {
		this.data = data;
	}

	public Object getExtend() {
		return extend;
	}

	public void setExtend(Object extend) {
		this.extend = extend;
	}

	public String getMessage() {
		return message;
	}

	public void setMessage(String message) {
		this.message = message;
	}


}
